<!DOCTYPE html>
<!--作者：昝清龙-->
<!--版本：1.1.2-->
<!--修改时间：2024年04月04日-->
<html lang="zh-CN">

<head>
    <meta charset="UTF-8" />
    <title>昝清龙的个人主页</title>
    <style>
        /* 全局样式 */
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #ffffff;
            color: #333;
        }

        /* 导航栏样式 */
        nav {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        nav ul {
            list-style-type: none;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            position: relative;
        }

        nav li {
            margin: 0 15px;
        }

        nav a {
            display: block;
            padding: 15px 20px;
            text-decoration: none;
            color: #333;
            position: relative;
            z-index: 1;
            transition: transform 0.3s ease;
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 150, 255, 0.1);
            transform: scaleY(0);
            transform-origin: bottom;
            transition: transform 0.3s ease;
            z-index: -1;
        }

        nav a:hover {
            transform: scale(1.1);
        }

        nav a:hover::after {
            transform: scaleY(1);
        }

        /* 主体内容样式 */
        main {
            padding: 100px 20px 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

        section {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
            display: none;
        }

        section#home {
            display: block;
        }

        section:hover {
            transform: scale(1.02);
        }

        h2 {
            color: #0096FF;
            border-bottom: 2px solid #0096FF;
            padding-bottom: 10px;
            margin-bottom: 20px;
            font-size: 28px;
        }

        #personal-video-homepage h2 {
            text-align: center;
        }

        p {
            line-height: 1.8;
            font-size: 16px;
        }

        ul {
            line-height: 1.8;
            font-size: 16px;
        }

        /* 视频容器样式 */
        .video-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            grid-auto-flow: row;
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .video-item {
            position: relative;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .video-item:hover {
            transform: scale(1.05);
        }

        .video-item img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            display: block;
        }

        .video-item h3 {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            margin: 0;
            padding: 10px;
            font-size: 16px;
        }

        /* 文章预览样式 */
        .article-preview {
            border-bottom: 1px solid #ccc;
            padding-bottom: 20px;
            margin-bottom: 20px;
        }

        .article-preview h3 {
            font-size: 20px;
            margin-bottom: 10px;
        }

        .article-preview a {
            color: #0096FF;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .article-preview a:hover {
            color: #0073CC;
        }

        /* 侧边栏样式 */
        aside {
            position: fixed;
            top: 50%;
            right: 20px;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border-radius: 50%;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            width: 60px;
            height: 60px;
            overflow: hidden;
            z-index: 999;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;

        }

        aside:hover {
            width: 280px;
            height: auto;
            min-height: 360px;
            border-radius: 15px;
            padding: 20px;
            display: block;
        }

        #profile-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        aside:hover #profile-img {
            width: 120px;
            height: 120px;
            margin: 0 auto 15px;
            display: block;
        }

        #info-popup {
            opacity: 0;
            max-height: 0;
            transition: opacity 0.3s 0.2s ease, max-height 0.3s ease;
        }

        aside:hover #info-popup {
            opacity: 1;
            max-height: 500px;
        }

        /* 主页样式 */
        #home {
            background-color: #ffffff;
            color: #000000;
            text-align: center;
            padding: 80px 20px;
        }

        #home h2 {
            font-size: 48px;
            border-bottom: none;
            margin-bottom: 20px;
        }

        #home p {
            font-size: 20px;
            max-width: 800px;
            margin: 0 auto;
        }

        .feature-tag {
            background-color: rgba(0, 0, 0, 0.1);
            border-radius: 20px;
            padding: 5px 15px;
            margin: 0 5px;
            display: inline-block;
            font-size: 14px;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            aside {
                position: static;
                transform: none;
                width: auto !important;
                height: auto !important;
                margin: 20px;
                border-radius: 15px !important;
            }

            #profile-img {
                width: 80px !important;
                height: 80px !important;
                margin: 10px auto !important;
            }

            #info-popup {
                opacity: 1 !important;
                max-height: none !important;
            }

            .video-container {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 576px) {
            main {
                padding: 80px 10px 10px;
            }

            nav li {
                margin: 0 8px;
            }

            nav a {
                padding: 10px 15px;
            }
        }
    </style>
</head>

<body>
    <nav>
        <ul>
            <li><a href="#home">主页</a></li>
            <li><a href="#personal-video-homepage">视频主页</a></li>
            <li><a href="#personal-column">个人专栏</a></li>
            <li><a href="#crawler">爬虫技术</a></li>
            <li><a href="#data-analysis">数据分析</a></li>
            <li><a href="#services">服务项目</a></li>
            <li><a href="#contact">联系方式</a></li>
        </ul>
    </nav>

    <main>
        <section id="home">
            <h2>欢迎来到昝清龙的个人主页</h2>
            <p>我是专业的数据科学家，专注于网络爬虫开发与数据分析，拥有5年行业经验，成功交付50+项目。提供从数据采集到分析可视化的完整解决方案，擅长突破复杂反爬机制，构建高效数据管道。</p>
            <p>
                <span class="feature-tag">Python爬虫</span>
                <span class="feature-tag">数据挖掘</span>
                <span class="feature-tag">机器学习</span>
                <span class="feature-tag">可视化分析</span>
            </p>
        </section>

        <section id="personal-video-homepage">
            <h2>技术视频精选</h2>
            <div class="video-container" id="videoContainer"></div>
        </section>
        <section id="personal-column">
            <h2>个人专栏</h2>
            <div class="article-preview">
                <h3>Python爬虫实战：突破反爬机制</h3>
                <p>常见反爬机制解析，现代网站主要通过以下方式防止爬虫......</p>
                <a href="./子页面/article1.html" target="_blank">阅读全文</a>
            </div>
            <div class="article-preview">
                <h3>文章标题2</h3>
                <p>这是文章2的简短预览内容，介绍文章的主要观点和亮点。</p>
                <a href="article2.html" target="_blank">阅读全文</a>
            </div>
            <div class="article-preview">
                <h3>文章标题3</h3>
                <p>这是文章3的简短预览内容，介绍文章的主要观点和亮点。</p>
                <a href="article3.html" target="_blank">阅读全文</a>
            </div>
        </section>
        <section id="crawler">
            <h2>爬虫技术服务</h2>
            <ul>
                <li>🕸️ 动态网页数据采集解决方案</li>
                <li>🤖 分布式爬虫架构设计</li>
                <li>🛡️ 高级反反爬技术实施</li>
                <li>📦 数据清洗与存储方案</li>
            </ul>
        </section>

        <section id="data-analysis">
            <h2>数据分析服务</h2>
            <ul>
                <li>📊 多维度数据可视化分析</li>
                <li>📈 时间序列预测建模</li>
                <li>🔍 商业数据洞察挖掘</li>
                <li>📑 专业分析报告生成</li>
            </ul>
            <h2>代码公开</h2>
            <ul>
                <li>📊<a href="/Users/mr.zan/Documents/python_project/个人网页制作/子页面/爬虫/code1.html">爬虫代码</a></li>
            </ul>
        </section>

        <section id="services">
            <h2>服务项目</h2>
            <ul>
                <li>🔍 定制化数据采集方案</li>
                <li>📈 大数据分析与可视化</li>
                <li>🤖 机器学习模型开发</li>
                <li>🛠️ 数据系统架构设计</li>
            </ul>
        </section>

        <section id="contact">
            <h2>联系合作</h2>
            <p>📧 电子邮箱：frank2328@qq.com</p>
            <p>📱 微信客服：DataMaster2024</p>
            <p>🐟 闲鱼账号：蛋蛋派派</p>
            <p>🅱️ B站主页：<a href="https://space.bilibili.com/87880338">餍足SATISFY</a></p>
        </section>
    </main>

    <aside>
        <img id="profile-img" src="https://bkimg.cdn.bcebos.com/pic/fcfaaf51f3deb48f8c5488ffad4c2d292df5e0fed2cd?x-bce-process=image/format,f_auto/quality,Q_70/resize,m_lfit,limit_1,w_536"
             alt="昝清龙头像">
        <div id="info-popup"></div>
    </aside>

    <script>
        // 视频数据
        const videoData = [{'pic_url': 'http://i2.hdslb.com/bfs/archive/08cac66a71a7861315db07ad21cf85107a3ea44b.jpg', 'title': '反三角函数图像记不住？我来教你', 'link': 'https://www.bilibili.com/video/BV1tK4y1H7xU', 'duration': '05:08', 'views': 47}, {'pic_url': 'http://i1.hdslb.com/bfs/archive/e1c05803980e7f83009489e269cbfacdc0481c6c.jpg', 'title': '【爬虫案例】实证分析中如何用Python抓一些网页上的数据', 'link': 'https://www.bilibili.com/video/BV1dr421G7SH', 'duration': '37:12', 'views': 5}, {'pic_url': 'http://i2.hdslb.com/bfs/archive/3fd8ecc71cbb817fd2811d22c2004d0bca8fd86f.jpg', 'title': '经济学期刊论文复现：数字化转型能促进企业的高质量发展吗', 'link': 'https://www.bilibili.com/video/BV1Wo1uYREQg', 'duration': '81:29', 'views': 2}, {'pic_url': 'http://i2.hdslb.com/bfs/archive/129a9afb527ea71b43983360adeadcfa284ff38f.jpg', 'title': 'excel如何将数据清洗成长面板数据', 'link': 'https://www.bilibili.com/video/BV1xj42197d4', 'duration': '14:03', 'views': 5}, {'pic_url': 'http://i0.hdslb.com/bfs/archive/3712d4502d1cb1792765c040bb6759af726ac2a2.jpg', 'title': '【附安装包】stata17mac版本安装教程', 'link': 'https://www.bilibili.com/video/BV1EE421T7yD', 'duration': '03:41', 'views': 0}, {'pic_url': 'http://i0.hdslb.com/bfs/archive/f916cc994eb7f42f4b93f6cb74076717ad1f56de.jpg', 'title': '微信公众号历史文章爬虫带点赞评论等数据思路', 'link': 'https://www.bilibili.com/video/BV134BcYZE8V', 'duration': '36:13', 'views': 0}, {'pic_url': 'http://i1.hdslb.com/bfs/archive/932f894afa4163516b3f93addc6ae41377553061.jpg', 'title': '钟根元习题集讲解-适用于范里安教材', 'link': 'https://www.bilibili.com/video/BV1PN411r7TT', 'duration': '72:15', 'views': 0}, {'pic_url': 'http://i2.hdslb.com/bfs/archive/91e1e2d4c8b713ba5234ad867199f3353537ceb6.jpg', 'title': '【爬虫代码分享】如何用python对小红书博主笔记内容爬虫_part_1', 'link': 'https://www.bilibili.com/video/BV1jJ4m1W7Sv', 'duration': '07:19', 'views': 0}, {'pic_url': 'http://i1.hdslb.com/bfs/archive/7bf016e10f636e95fe9dd3ee700f839055a187f4.jpg', 'title': 'stata如何将数据清洗成长面板数据', 'link': 'https://www.bilibili.com/video/BV1of421d78E', 'duration': '07:52', 'views': 1}, {'pic_url': 'http://i2.hdslb.com/bfs/archive/d499de2939a3990c01cd1fc6f9327325643bc419.jpg', 'title': '案例：stata数据清洗成长面板数据与合并', 'link': 'https://www.bilibili.com/video/BV1Nq421A7TR', 'duration': '13:55', 'views': 0}, {'pic_url': 'http://i2.hdslb.com/bfs/archive/38df86bb6e733ce5b525a2ed6e0b7a3cd8f017b6.jpg', 'title': '实证分析中需要批量下载抖音视频怎么爬虫（上）', 'link': 'https://www.bilibili.com/video/BV1suxPeCErV', 'duration': '34:08', 'views': 0}, {'pic_url': 'http://i1.hdslb.com/bfs/archive/6dc4c7eec4b4a16edf2f9b8e2cd5cfa0dcc352d7.jpg', 'title': '实证分析中需要批量下载抖音视频怎么爬虫（下）', 'link': 'https://www.bilibili.com/video/BV1gXxyeiEC7', 'duration': '25:35', 'views': 0}];

        // 个人资料数据
        const profileData = {
            name: "昝清龙",
            education: "西北师范大学经济学硕士",
            experience: [
                "5年爬虫开发经验",
                "3年机器学习实战",
                "10+大型数据分析项目"
            ],
            skills: ["Python", "Scrapy", "Pandas", "SQL", "Tableau"],
            contact: {
                email: "frank2328@qq.com",
                wechat: "DataMaster2024",
                bilibili: "餍足SATISFY"
            }
        };

        // 初始化视频内容
        function initVideos() {
            const container = document.getElementById('videoContainer');
            container.innerHTML = videoData.map(video => `
                <a href="${video.link}" class="video-item" target="_blank">
                    <img src="${video.pic_url}" alt="${video.title}">
                    <h3>${video.title}</h3>
                    <div style="position:absolute; top:10px; right:10px; background:rgba(0,0,0,0.7); color:#fff; padding:5px 10px; border-radius:5px;">
                        ${video.duration}
                    </div>
                </a>
            `).join('');
        }

        // 初始化个人资料
        function initProfile() {
            const popup = document.getElementById('info-popup');
            popup.innerHTML = `
                <h3 style="margin-bottom:15px;">${profileData.name}</h3>
                <p><strong>学历：</strong>${profileData.education}</p>
                <p><strong>技术栈：</strong>${profileData.skills.join(', ')}</p>
                <div style="margin:15px 0; border-top:1px solid #eee; padding-top:15px;">
                    <p><strong>项目经验：</strong></p>
                    <ul style="padding-left:20px; margin-top:10px;">
                        ${profileData.experience.map(exp => `<li>${exp}</li>`).join('')}
                    </ul>
                </div>
                <div style="border-top:1px solid #eee; padding-top:15px;">
                    <p>📧 ${profileData.contact.email}</p>
                    <p>📱 ${profileData.contact.wechat}</p>
                    <p>🅱️ ${profileData.contact.bilibili}</p>
                </div>
            `;
        }

        // 页面初始化
        document.addEventListener('DOMContentLoaded', () => {
            initVideos();
            initProfile();

            // 导航栏交互
            document.querySelectorAll('nav a').forEach(link => {
                link.addEventListener('click', function(e) {
                    e.preventDefault();
                    const targetId = this.getAttribute('href').substring(1);
                    document.querySelectorAll('section').forEach(section => {
                        section.style.display = section.id === targetId ? 'block' : 'none';
                    });
                });
            });

            // 滚动监听
            window.addEventListener('scroll', () => {
                const nav = document.querySelector('nav');
                nav.style.backgroundColor = window.scrollY > 50
                    ? 'rgba(255,255,255,0.95)'
                    : 'rgba(255,255,255,0.9)';
            });
        });
    </script>
</body>
</html>